package com.newtouch.bxzs.business.message.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 * 公告管理详情BO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/11</td>
 * <td>liman</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author liman
 * @version 1.0.0
 * @since 1.0.0
 */

@Data
@ApiModel("公告BO类")
public class AnnouncementDetailBO implements Serializable {
    /** serialVersionUID*/
    private static final long serialVersionUID = 7848300586417539205L;

    @ApiModelProperty("公告id 主键")
    private String announcementId;

    @ApiModelProperty("公告名称")
    private String announcementName;

    @ApiModelProperty("公告简介")
    private String announcementIntroduction;

    @ApiModelProperty("公告内容")
    private String announcementContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("发布时间")
    private Date publishTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("撤销时间")
    private Date revokeTime;

    @ApiModelProperty("发布状态：未发布1；已发布2；已结束3；已取消4；已撤销5")
    private String publishStatus;

    @ApiModelProperty(value = "附件地址")
    private HashMap<String, List<String>> attachmentUrls;
}
